package com.heima.model.user.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**App用户粉丝信息表
 * @author rookie001
 * @creat 2023-06-23-10:28
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@TableName("ap_user_fan")
public class ApUserFan implements Serializable {

    private static final long serialVersionUID = 1L;
    // 主键
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //用户ID
    @TableField("user_id")
    private Integer userId;
    //粉丝Id
    @TableField("fans_id")
    private Integer fansId;
    //粉丝名称
    @TableField("fans_name")
    private String fansName;
    //粉丝忠实度  0 正常 1潜力股 2勇士
    @TableField("level")
    private short level;
    //创建时间
    @TableField("created_time")
    private Date createdTime;
    //是否可见我的动态  可见true 不可见false
    @TableField("is_display")
    private Boolean isDisplay;
    //是否屏蔽私信  可见true 不可见false
    @TableField("is_shield_letter")
    private Boolean isShieldLetter;
    //是否屏蔽评论  可见true 不可见false
    @TableField("is_shield_comment")
    private Boolean isShieldComment;

}
